var app=angular.module("zzapp",['ngRoute']);
app.config(function ($routeProvider) {
    $routeProvider.
    when('/life', {
        templateUrl: 'Life.html',
        controller: 'LifeController'
        
    }).
    when('/lession', {
        templateUrl: 'lession.html',
        controller: 'LessionController'
    }).
    when('/hardgold', {
        templateUrl: 'hardgold.html',
        controller: 'HardgoldController'
    }).
    when('/rank', {
        templateUrl: 'rank.html',
        controller: 'RankController'
    }).otherwise({
        redirectTo: '/rank'
    });
});